﻿
if(DB_ENABLED)
    message(STATUS "Data Base is enabled")
	include(dataBase/sql/sql.cmake)

    aux_source_directory(./dataBase DB_SRC)
    set(DB_LIB  liblog)
	list(APPEND DB_LIB ${TYPE_LIB})
	list(APPEND DB_SRC ${TYPE_SRC})
    set(DB_SRC ${DB_SRC} PARENT_SCOPE)
    set(DB_LIB ${DB_LIB} PARENT_SCOPE)
else()
    message(STATUS "http is disabled")
    set(DB_SRC "" PARENT_SCOPE)
    set(DB_LIB "" PARENT_SCOPE)
endif()
